package com.timebank.timecoin.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * fabric配置类
 * @author shiliuyinzhen
 */
@Configuration
@ConfigurationProperties(prefix = "fabric")
@Data
public class FabricProperties {

    /** fabric通道名 */
    private String channelName;

    /** fabric智能合约 */
    private String contractName;

    /** fabric连接文件路径 */
    private String networkConfigPath;

    /** fabric证书文件路径 */
    private String certificatePath;

    /** fabric私钥文件路径 */
    private String privateKeyPath;
}

